Skip to content

fix(studio): stop local analysis across client stages - #2662

Open
groupthinking wants to merge 2 commits into
mainfrom
codex/fix-studio-cancellation-20261112
Open

groupthinking wants to merge 2 commits into
mainfrom
codex/fix-studio-cancellation-20261112

Conversation

@groupthinking

@groupthinking groupthinking commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Closes #2660

Outcome

Cancel stops active client requests and later stages, restores Run immediately, preserves request timeouts, and isolates stale UI callbacks. Work already accepted by the server may continue.

Scope and risk

The production change propagates AbortSignal through pack requests, polling and workflow start, guards stage transitions, and stops local rows immediately. Regression tests cover abort timing, late results, replacement runs and timeout preservation. Risk is medium.

The temporary no-deployment configuration has been removed. Hayden explicitly authorized preview deployments, E2E validation, then merge and automatic production deployment only if validation passes on November 13, 2026. No check bypass or acceptance weakening is authorized.

Verification

Current head: 81dcf15e49cdfe29efe3423374ac098f5d3f1234; tree a902b1bf91a6375f91a5ac4a355d5da7c3b801d5. This update changes deployment configuration only; the application code and tests are unchanged from the independently reviewed fix.

Focused cancellation checks: 97 passed across eight files. New regressions failed before correction. Independent review caught the displaced kickoff timeout; it is composed correctly and tested.

Both fixes together passed a fresh current-main local rerun: 1,581 web tests with 28 skipped across 172 files; full web type-check and lint passed. The validated combined current-main tree is 08bd6950052241259d30c2da20897c5c9e2b5fa0. Both also combine cleanly with current main 512a2558f73d6281b6a880548bedf140b7e30292, which adds only the independent runtime npm repair.

Earlier heads passed hosted build, unit, coverage, CodeQL and security workflow checks, but E2E failed before execution because previews were disabled. Those earlier successes are historical, not current-head acceptance. New exact-head preview CI and E2E completed successfully. Hosted build, web/Python tests, real-service preflight, security workflows, CodeQL, coverage, metadata and issue closer passed before merge preparation. A green report that skipped ready-pack assertions is not accepted as ready-pack evidence.

The canonical fixture auJzb1D-fag was read-only preflighted on production: HTTP 200, success, current p1.6-direct-shard-v1 pack and 6,504 transcript characters. This does not prove a fresh extraction or a deployed app generated from the video.

Release and rollback

Codex owns current-head checks, review findings, exact-head-protected merge, and production verification. Mark this draft ready only after validation. No merge has occurred.

Rollback is a separately reviewed revert; it would restore the prior incomplete cancellation behavior. Durable server cancellation and general video-to-production generation remain separate from this correction.

Related correction: #2661.

Verified preview acceptance

  • Exact-head preview: https://v0-uvai-n66clebcg-garv1.vercel.app.
  • E2E: 16/16 passed, including ready-pack evidence lineage, with no timeout-based skipping of shape assertions. Receipt.
  • Individual Vercel deployment is Ready and bound to this head. Generic HTTP E2E is distinct from the focused regression tests for the fix.
  • No unresolved review threads or additional blocking source finding at final review.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added javascript Pull requests that update javascript code tests labels Nov 12, 2026
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 13, 2026 6:31pm UTC

@github-actions

Copy link
Copy Markdown
Contributor

✅ E2E Test Results: ALL TESTS PASSED

Metric Value
Status 🟢 GREEN
Total Tests
Passed 16
Failed
Deployment https://v0-uvai-n66clebcg-garv1.vercel.app
Test Output
very request without persisting it�[32m 1�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mhomepage returns 200 with HTML�[32m 218�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page contains template/workflow markup�[32m 269�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page surfaces at least 5 workflow/template indicators�[32m 286�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mPOST /api/video/pack accepts a YouTube URL without hanging�[33m 2193�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mGET /api/video/pack resolves to a ready pack with evidence lineage�[33m 897�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mmissing URL returns 400, not a hang�[32m 206�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22minvalid URL returns 400 quickly, not a hang�[32m 201�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mPOST /api/video/pack with no body returns 400�[32m 227�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard returns 200�[32m 256�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard contains agent or pipeline visualization markup�[32m 231�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mGET /api returns a response (not 404)�[32m 231�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mretired /api/pipeline routes are gone (no pipeline served)�[32m 112�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22mhomepage has proper meta tags�[32m 271�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22m/features page returns 200�[32m 247�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m      Tests �[22m �[1m�[32m16 passed�[39m�[22m�[90m (16)�[39m
�[2m   Start at �[22m 18:32:22
�[2m   Duration �[22m 6.73s�[2m (transform 42ms, setup 0ms, import 55ms, tests 6.56s, environment 0ms)�[22m


@groupthinking
groupthinking marked this pull request as ready for review November 13, 2026 18:37
groupthinking added a commit that referenced this pull request Nov 13, 2026
Closes #2659

## Outcome

Build live preserves failed or missing hosted health after stored-pack
recovery. Healthy initial and retry paths remain covered.

## Scope and risk

The production change removes the ten-line failed-health success bypass;
regression tests cover failed health, missing health and unsuccessful
HTTP responses. Risk is low.

The temporary no-deployment configuration has been removed. Hayden
explicitly authorized preview deployments, E2E validation, then merge
and automatic production deployment only if validation passes on
November 13, 2026. No check bypass or acceptance weakening is
authorized.

## Verification

Current head: `3825e30b8a443b1d777a581a8ef496ce80b3f7d3`; tree
`cc4240b370ad1fec772ffec645a8bcf10fd31bbf`. This update changes
deployment configuration only; the application code and tests are
unchanged from the independently reviewed fix.

Focused readiness checks: 29 passed; standalone web suite: 1,568 passed
and 28 skipped. The negative control failed two tests against the
original source.

Both fixes together passed a fresh current-main local rerun: 1,581 web
tests with 28 skipped across 172 files; full web type-check and lint
passed. The validated combined current-main tree is
08bd6950052241259d30c2da20897c5c9e2b5fa0. Both also combine cleanly with
current main `512a2558f73d6281b6a880548bedf140b7e30292`, which adds only
the independent runtime npm repair.

Earlier heads passed hosted build, unit, coverage, CodeQL and security
workflow checks, but E2E failed before execution because previews were
disabled. Those earlier successes are historical, not current-head
acceptance. New exact-head preview CI and E2E completed successfully.
Hosted build, web/Python tests, real-service preflight, security
workflows, CodeQL, coverage, metadata and issue closer passed before
merge preparation. A green report that skipped ready-pack assertions is
not accepted as ready-pack evidence.

The canonical fixture `auJzb1D-fag` was read-only preflighted on
production: HTTP 200, success, current `p1.6-direct-shard-v1` pack and
6,504 transcript characters. This does not prove a fresh extraction or a
deployed app generated from the video.

## Release and rollback

Codex owns current-head checks, review findings, exact-head-protected
merge, and production verification. Mark this draft ready only after
validation. No merge has occurred.

Rollback is a separately reviewed revert; it would restore the prior
incorrect readiness behavior. Durable server cancellation and general
video-to-production generation remain separate from this correction.

Related correction: #2662.

## Verified preview acceptance

- Exact-head preview: https://v0-uvai-9621mle7n-garv1.vercel.app.
- E2E: 16/16 passed, including ready-pack evidence lineage, with no
timeout-based skipping of shape assertions.
[Receipt](https://github.com/groupthinking/EventRelay/actions/runs/43483242872/job/132084905049).
- Individual Vercel deployment is Ready and bound to this head. Generic
HTTP E2E is distinct from the focused regression tests for the fix.
- No unresolved review threads or additional blocking source finding at
final review.

This branch was successfully deployed

1 active deployment
Preview — 81dcf15e Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop Studio client stages after analysis cancellation

1 participant